//这是店铺mapper的抽象类
package com.fer.mapper;

import com.fer.model.Shop;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface ShopMapper {

    //通过店铺id获取店铺信息
    Shop selectShop(Integer boss_id);

    List<Shop> selectAllShop();
    //增
    void insertShop(Shop shop);
    //删
    void deleteShop(Integer shop_id);
    //改
    int updateShop(Shop shop);
}
